import request from '@/utils/request'

 
export function getmessages(query) {
  return request({
    url: '/gpt/getmessages',
    method: 'get',
    params: query
  })
}

export function send(query) {
  return request({
    url: '/gpt/send',
    method: 'get',
    params: query
  })
}


export function sendImg(query) {
  return request({
    url: '/gpt/sendImg',
    method: 'post',
    data: query
  })
}


export function sendFlux(query) {
  return request({
    url: '/gpt/sendFlux',
    method: 'post',
    data: query
  })
}

export function testSQL(query) {
  return request({
    url: '/gpt/testSQL',
    method: 'post',
    data: query
  })
}

export function getJson(query) {
  return request({
    url: '/gpt/getJson',
    method: 'post',
    data: query
  })
}

export function getExcel(query) {
  return request({
    url: '/gpt/getExcel',
    method: 'post',
    data: query
  })
}

